package com.dongdongshop.data;

import java.util.List;

public class PageBean<T> {
	private Integer totalCount; //�ܼ�¼��
	private Integer totalPage;	//��ҳ��
	private List<T> list;	//ÿҳ������
	private Integer currentPage;//��ǰҳ��
	private Integer rows;		//ÿҳ��ʾ�ļ�¼��
	
	
	public PageBean(int totalCount, int totalPage, List<T> list, int currentPage, int rows) {
		super();
		this.totalCount = totalCount;
		this.totalPage = totalPage;
		this.list = list;
		this.currentPage = currentPage;
		this.rows = rows;
	}
	public int getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public int getRows() {
		return rows;
	}
	public void setRows(int rows) {
		this.rows = rows;
	}
	public PageBean() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
